package cn.edu.tsinghua.xkk.correction;

import java.util.LinkedList;
import java.util.List;

public class Kanji
{
	public String kanji;
	public List <String> anno;
	
	public Kanji (String A, String B)
	{
		kanji = A;
		anno = new LinkedList <String> ();
		anno.add(B);
	}
	
	public Kanji (String A)
	{
		kanji = A;
		anno = new LinkedList <String> ();
	}
	
	public void addAnno (String K)
	{
		for (int i = 0; i < anno.size(); i++)
		{
			if (anno.get(i).equals(K))
			{
				return;
			}
		}
		
		anno.add(K);
	}
}
